package ZY10_22.Pet;

public class Dog extends Pet{
    public void show(){
        super.show();
        mouse();
    }
    public Dog() {
    }

    public Dog(String name, String variety, int weight) {
        super(name, variety, weight);
    }

    public void mouse(){
        System.out.println(super.getName()+"会抓老鼠");
    }
}
